package cn.sofwin.day0120.homework.Customer;

import java.util.Arrays;

public class CustomerBiz {
    String[] fullNames = new String[100];
    int size = 0;

    public void addName(String fullName){
        fullNames[size++] = fullName;
    }

    public void showNames(){
        for (int i = 0; i < size; i++) {
            System.out.print(fullNames[i]);
            if (i < size - 1){
                System.out.print(", ");
            }
        }
        System.out.println();
    }
}
